package com.achang.achangmall.seckill.service;

import com.achang.achangmall.seckill.to.SeckillSkuRedisTo;

import java.util.List;

/******
 @author 阿昌
 @create 2021-11-01 22:00
 *******
 */
public interface SeckillService {
    void uploadSeckillSkuLatest3Days();

    List<SeckillSkuRedisTo> getCurrentSeckillSkus();

    SeckillSkuRedisTo getSkuSeckilInfo(Long skuId);

    String kill(String killId, String key, Integer num) throws InterruptedException;
}
